package com.xk.meeting.dao;

import com.xk.meeting.entity.User;

public interface UserDao {
    int addUser(User user);

    boolean isExist(String phone);

    User query(String username, String password);

    User getUserForPhone(String phone);

    int updateName(String username, int id);

    String getPasswordById(int id);

    int updatePassword(String id, String newpass);

    String getNameById(int id);

    int getStarusById(int uid);

    int changeStatus(int uid, int status);

    int getState(int id);
}
